#pragma once
#include<vector>
#include<map>
#include<iostream>
#include "speaker.h"
#include<algorithm>
#include<functional>
#include<numeric>
#include <Windows.h>
#include<deque>
#include<fstream>
#include<ctime>
#include<string>
using namespace std;


class SpeechManager
{
public:
	SpeechManager();

	void Show_Menu();

	void ExitSystem();
	
	void InitSpeech();

	void CreateSpeaker();

	void StartSpeech();

	void SpeechDraw();

	void SpeechContest();

	void ShowScore();

	void SaveRecord();

	void LoadRecord();

	void ShowRecord();

	void clearRecord();

	~SpeechManager();

	vector<int> v1;

	vector<int> v2;

	vector<int> victory;

	map<int, Speaker> m_Speaker;

	bool fileIsEmpty;

	map<int, vector<string> > m_Record;


	int m_Index;
};

